package com.oocl.scan.model;

import com.alibaba.fastjson.JSON;

public class Component {

  private String name;
  private String type;
  private String module;
  private String domain;
  private Object description;

  public Component() {
  }

  public Component(String name, String type, String module, String domain) {
    this.name = name;
    this.type = type;
    this.module = module;
    this.domain = domain;
    this.description = description;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public String getModule() {
    return module;
  }

  public void setModule(String module) {
    this.module = module;
  }

  public String getDomain() {
    return domain;
  }

  public void setDomain(String domain) {
    this.domain = domain;
  }

  public Object getDescription() {
    return description;
  }

  public void setDescription(Object description) {
    this.description = description;
  }

  @Override
  public String toString() {
    return "Component : "+JSON.toJSONString(this);
  }
}
